﻿using System;
using System.Threading;

namespace NestedWhile
{
    class Program
    {
        static void Main(string[] args)
        {
            int hour = 0;
            int min = 0;

            while (hour < 24)
            {
                min = 0;

                while (min < 60)
                {
                    Console.WriteLine(hour + " : " + min);

                    min = min + 1;

                    Thread.Sleep(100);
                }

                Console.WriteLine();

                hour = hour + 1;
            }

            Console.ReadKey();
        }
    }
}
